/*访问后台的代码*/
layui.define([], function(exports) {
    var api={
            updateActivityComment:function(form,callback){
                Lib.submitForm("/activity/activityComment/update.json",form,{},callback)
            },
            saveForm:function(isNew,form,callback){
                var postUrl = "/activity/activityComment/update.json";
                if (isNew) {
                    postUrl = "/activity/activityComment/add.json";
                }
                Lib.submitForm(postUrl,form,{},callback)
            },
            del:function(ids,callback){
                Common.post("/activity/activityComment/delete.json",{"ids":ids},function(){
                    callback();
                })
            }
		
    };
    exports('activityCommentApi',api);
});